package com.tiger.cloud.model.crm;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.cloud.common.mybatis.TigerBaseEntity;
import com.tiger.cloud.enums.ActiveCountEnum;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 
 * crm_user_active_detail-
 *
 */
public class UserActiveDetail extends TigerBaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 
	 */
    private Long userId;
	/**
	 * 
	 */
    private ActiveCountEnum clientType;
	/**
	 * 
	 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "活跃时间")
    private Date activeTime;
	/**
	 * 
	 */
    private Long provinceId;
	/**
	 * 
	 */
    private String provinceName;
	/**
	 * 
	 */
    private Long cityId;
	/**
	 * 
	 */
    private String cityName;
	/**
	 * 
	 */
    private Long districtId;
	/**
	 * 
	 */
    private String districtName;
	/**
	 * 
	 */
    private Date createTime;
	/**
	 * 
	 */
    private Date updateTime;
    
    public UserActiveDetail(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getActiveTime() {
        return this.activeTime;
    }
    
    public void setActiveTime(Date activeTime) {
        this.activeTime = activeTime;
    }
    public Long getProvinceId() {
        return this.provinceId;
    }
    
    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }
    public String getProvinceName() {
        return this.provinceName;
    }
    
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
    public Long getCityId() {
        return this.cityId;
    }
    
    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }
    public String getCityName() {
        return this.cityName;
    }
    
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
    public Long getDistrictId() {
        return this.districtId;
    }
    
    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }
    public String getDistrictName() {
        return this.districtName;
    }
    
    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public ActiveCountEnum getClientType() {
        return clientType;
    }

    public void setClientType(ActiveCountEnum clientType) {
        this.clientType = clientType;
    }

    @Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}